<include file="public@header"/>
</head>
<body>
<div class="layui-fluid">
    <ul class="nav nav-tabs">
        <li><a href="{:url('AdminWechatPublicNumber/index')}">{:lang('PORTAL_ADMINWECHATPUBLICNUMBER_INDEX')}</a></li>
        <li class="active"><a href="{:url('AdminWechatPublicNumber/add')}">{:lang('PORTAL_ADMINWECHATPUBLICNUMBER_ADD')}</a></li>
    </ul>
    <form method="post" class="layui-form js-ajax-form margin-top-20" action="{:url('AdminWechatPublicNumber/addPost')}">
        <div class="layui-form-item">
            <label for="input-name" class="layui-col-sm3 control-label">{:lang('PUBLIC_NUMBER_NAME')}</label>
            <div class="col-md-5 layui-col-sm9">
                <input type="text" class="layui-input" id="input-name" name="name" required>
            </div>
        </div>
        <div class="layui-form-item">
            <label for="input-appid" class="layui-col-sm3 control-label">{:lang('PUBLIC_NUMBER_APPID')}</label>
            <div class="col-md-5 layui-col-sm9">
                <input type="text" class="layui-input" id="input-appid" name="appid" required>
            </div>
        </div>
        <div class="layui-form-item">
            <label for="input-secret" class="layui-col-sm3 control-label">{:lang('PUBLIC_NUMBER_SECRET')}</label>
            <div class="col-md-5 layui-col-sm9">
                <input type="text" class="layui-input" id="input-secret" name="secret" required>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-col-smoffset-3 layui-col-sm10">
                <button type="submit" class="layui-btn layui-btn-normal js-ajax-submit">{:lang('ADD')}</button>
                <a class="btn btn-default" href="{:url('AdminWechatPublicNumber/index')}">{:lang('BACK')}</a>
            </div>
        </div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>
